package cluedo.messages;

import msgcomm.messages.NormalPayload;
import cluedo.Pawn;


/**
 * Payload del messaggio che notifica il player a cui viene inviato, quale pedina ha scelto un altro player.
 */
public class NotifyPlayerPawn extends NormalPayload{

	private static final long serialVersionUID = -2978262039818987125L;
	
	/**
	 * la pedina scelta
	 */
	public final Pawn playerPawn;
	
	public NotifyPlayerPawn(Pawn playerPawn){
		
		this.playerPawn=playerPawn;

	}


	@Override
	public String toString() {
		return "NotifyPlayerPawn{"+playerPawn+"}";
	}
}
